Platform Explorer / Nuxeo Platform 6.0

Operation Document.Pop (Pop Document)

Description

Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last pushed document.
Operation id Document.Pop
Category Push & Pop
Label Pop Document
Requires
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.stack.PopDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.Pop",
  "label" : "Pop Document",
  "category" : "Push & Pop",
  "requires" : null,
  "description" : "Restore the last saved input document in the context input stack. This operation must be used only if a PUSH operation was previously made. Return the last <i>pushed</i> document.",
  "url" : "Document.Pop",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}